package com.qdu.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.qdu.entity.Teacher;

public interface TeacherService {
	
	Teacher selectTeacherById(String id);

	boolean addTeacher(@Param("teacher") Teacher teacher, @Param("acdmid") int acdmid);

	boolean modifyTeacher(@Param("teacher") Teacher teacher, @Param("acdmid") int acdmid);

	boolean deleteTeacherById(String id);

	List<Teacher> selectAllTeacher();
	
	List<Teacher> selectTeacherByAcdmid(int acdmid);
}
